package com.bw.lib_common.model

import com.bw.lib_common.api.BaseApiServer
import com.bw.lib_http.OkHttpClientManager
import okhttp3.OkHttpClient

/**
 * 基础仓库
 */

abstract class BaseRepository <S:BaseApiServer> {

    protected var apiService:S

    init {
        apiService = createApiServer()
    }

    abstract fun createApiServer():S
}